home *** CD-ROM | disk | FTP | other *** search
/ Java Interactive Reference Guide / Java Interactive Reference Guide.iso / java.exe / java.DXR / 00123_cans.txt < prev    next >
Encoding:
Text File  |  1980-01-11  |  8.9 KB  |  657 lines

  1. Links property
  2.  
  3.  
  4.  
  5. Array of objects corresponding to link objects (<A HREF=URL>/TT> tags) in source order. 
  6.  
  7. The links array contains an entry for each link object in a document. For example, if a document contains three link objects, these links are reflected as document.links[0], document.links[1], and document.links[2]. 
  8.  
  9. To obtain the number of links in a document, use the length property: document.links.length. 
  10.  
  11.  
  12.  
  13. Applies to
  14.  
  15.  
  16.  
  17. document 
  18.  
  19. Examples
  20.  
  21.  
  22.  
  23. xxx Examples to be supplied. 
  24.  
  25. See also
  26.  
  27. length property 
  28. ---------------------------------------------------------
  29.  
  30.  
  31. LN2 property
  32.  
  33.  
  34.  
  35. LN2 is the natural logarithm of two, roughly 0.693. 
  36.  
  37.  
  38.  
  39. Applies to
  40.  
  41.  
  42.  
  43. Math 
  44.  
  45. Examples
  46.  
  47.  
  48.  
  49. xxx Examples to be supplied. 
  50. ------------------------------------------------------------------------
  51.  
  52.  
  53. LN10 property
  54.  
  55.  
  56.  
  57. LN10 is the natural logarithm of ten, roughly 2.302. 
  58.  
  59.  
  60.  
  61. Applies to
  62.  
  63.  
  64.  
  65. Math 
  66.  
  67. Examples
  68.  
  69.  
  70.  
  71. xxx Examples to be supplied. 
  72. ---------------------------------------------------------
  73.  
  74.  
  75. loadedDate property
  76.  
  77.  
  78.  
  79. xxx Description to be supplied. Not yet implemented in Beta 4. 
  80.  
  81.  
  82.  
  83. Applies to
  84.  
  85.  
  86.  
  87. document 
  88.  
  89. Examples
  90.  
  91.  
  92.  
  93. xxx Examples to be supplied. 
  94. ---------------------------------------------------------
  95.  
  96.  
  97. location property
  98.  
  99.  
  100.  
  101. The full URL of the document. 
  102.  
  103.  
  104.  
  105. Applies to
  106.  
  107.  
  108.  
  109. document 
  110.  
  111. Examples
  112.  
  113.  
  114.  
  115. xxx Examples to be supplied. 
  116. ---------------------------------------------------------
  117.  
  118.  
  119. method property
  120.  
  121.  
  122.  
  123. Value of METHOD attribute, "get"or "post" 
  124.  
  125.  
  126.  
  127. Applies to
  128.  
  129.  
  130.  
  131. form 
  132.  
  133. Examples
  134.  
  135.  
  136.  
  137. xxx Examples to be supplied. 
  138. ---------------------------------------------------------
  139.  
  140.  
  141. name property
  142.  
  143.  
  144.  
  145. A string whose value is the same as the NAME attribute of the object. Note that for button, reset, and submit objects, this is the internal name for the button, not the label that appears onscreen. 
  146.  
  147.  
  148.  
  149. Applies to
  150.  
  151.  
  152.  
  153. button, checkbox, form, password, radioButton, reset, submit, text, textArea 
  154.  
  155. Examples
  156.  
  157.  
  158.  
  159. xxx Examples to be supplied. 
  160. ---------------------------------------------------------
  161.  
  162.  
  163. options property
  164.  
  165.  
  166.  
  167. Array of objects corresponding to options in a selection object (<OPTION>tags) in source order. 
  168.  
  169. The options array contains an entry for each option in a selection object. For example, if a selection object named musicStyle contains three options, these options are reflected as musicStyle.options[0], musicStyle.options[1], and musicStyle.options[2]. 
  170.  
  171. To obtain the number of options in a selection object, use the length property: objectName.options.length. 
  172.  
  173.  
  174.  
  175. Applies to
  176.  
  177.  
  178.  
  179. selection 
  180.  
  181. Examples
  182.  
  183.  
  184.  
  185. xxx Examples to be supplied. 
  186.  
  187. See also
  188.  
  189. length property 
  190. ---------------------------------------------------------
  191.  
  192.  
  193. parent property
  194.  
  195.  
  196.  
  197. In a <FRAMESET>and <FRAME>relationship, the <FRAMESET>window. 
  198.  
  199.  
  200.  
  201. Applies to
  202.  
  203.  
  204.  
  205. window 
  206.  
  207. Examples
  208.  
  209.  
  210.  
  211. xxx Examples to be supplied. 
  212. ---------------------------------------------------------
  213.  
  214.  
  215. pathname property
  216.  
  217.  
  218.  
  219. The file or object path name following the third slash. 
  220.  
  221.  
  222.  
  223. Applies to
  224.  
  225.  
  226.  
  227. location 
  228.  
  229. Examples
  230.  
  231.  
  232.  
  233. xxx Examples to be supplied. 
  234. ---------------------------------------------------------
  235.  
  236.  
  237. PI property
  238.  
  239.  
  240.  
  241. Pi is the ratio of the circumference of a circle to its diameter, roughly 3.1415. 
  242.  
  243.  
  244.  
  245. Applies to
  246.  
  247.  
  248.  
  249. Math 
  250.  
  251. Examples
  252.  
  253.  
  254.  
  255. xxx Examples to be supplied. 
  256. ---------------------------------------------------------
  257.  
  258.  
  259. port property
  260.  
  261.  
  262.  
  263. The port number in a URL, if any; otherwise "quot. 
  264.  
  265.  
  266.  
  267. Applies to
  268.  
  269.  
  270.  
  271. location 
  272.  
  273. Examples
  274.  
  275.  
  276.  
  277. xxx Examples to be supplied. 
  278. ---------------------------------------------------------
  279.  
  280.  
  281. protocol property
  282.  
  283.  
  284.  
  285. The initial substring up to and including the first colon, which indicates the URL's access method. 
  286.  
  287.  
  288.  
  289. Applies to
  290.  
  291.  
  292.  
  293. location 
  294.  
  295. Examples
  296.  
  297.  
  298.  
  299. xxx Examples to be supplied. 
  300. ---------------------------------------------------------
  301.  
  302.  
  303. referrer property
  304.  
  305.  
  306.  
  307. xxx Description to be supplied. 
  308.  
  309.  
  310.  
  311. Applies to
  312.  
  313.  
  314.  
  315. document 
  316.  
  317. Examples
  318.  
  319.  
  320.  
  321. xxx Examples to be supplied. 
  322. ---------------------------------------------------------
  323.  
  324.  
  325. search property
  326.  
  327.  
  328.  
  329. Any query string or form data after ?. 
  330.  
  331.  
  332.  
  333. Applies to
  334.  
  335.  
  336.  
  337. location 
  338.  
  339. Examples
  340.  
  341.  
  342.  
  343. xxx Examples to be supplied. 
  344. ---------------------------------------------------------
  345.  
  346.  
  347. selected property
  348.  
  349.  
  350.  
  351. Boolean property that indicates the current selected state of an option in a select object. 
  352.  
  353.  
  354.  
  355. Applies to
  356.  
  357.  
  358.  
  359. selection 
  360.  
  361. Examples
  362.  
  363.  
  364.  
  365. xxx Examples to be supplied. 
  366. ---------------------------------------------------------
  367.  
  368.  
  369. selectedIndex property
  370.  
  371.  
  372.  
  373. xxx to be described 
  374.  
  375.  
  376.  
  377. Applies to
  378.  
  379.  
  380.  
  381. selection 
  382.  
  383. Examples
  384.  
  385.  
  386.  
  387. xxx Examples to be supplied. 
  388. ---------------------------------------------------------
  389.  
  390.  
  391. self property
  392.  
  393.  
  394.  
  395. The self property refers to the current window. Use the self property to disambiguate a window property from a form of the same name. You can also use the self property to make your code more readable. 
  396.  
  397.  
  398.  
  399. Applies to
  400.  
  401.  
  402.  
  403. window 
  404.  
  405. Examples
  406.  
  407.  
  408.  
  409. In the following example, self.status is used to set the status property. This usage disambiguate the status property of a window from a form called "status". 
  410.  
  411. <A HREF=""
  412.    onClick="this.href=pickRandomURL();"
  413.    onMouseOver="self.status='Pick a random URL' ; return true">
  414. Go!</A>
  415.  
  416.  
  417.  
  418.  
  419. See also
  420.  
  421. window property 
  422. ---------------------------------------------------------
  423.  
  424.  
  425. SQRT1_2 property
  426.  
  427.  
  428.  
  429. SQRT1_2 is the square root of one-half; equivalently, one over the square root of two, roughly 0.707. 
  430.  
  431.  
  432.  
  433. Applies to
  434.  
  435.  
  436.  
  437. Math 
  438.  
  439. Examples
  440.  
  441.  
  442.  
  443. xxx Examples to be supplied. 
  444. ---------------------------------------------------------
  445.  
  446.  
  447. SQRT2 property
  448.  
  449.  
  450.  
  451. SQRT2 is the square root of two, roughly 1.414. 
  452.  
  453.  
  454.  
  455. Applies to
  456.  
  457.  
  458.  
  459. Math 
  460.  
  461. Examples
  462.  
  463.  
  464.  
  465. xxx Examples to be supplied. 
  466. ---------------------------------------------------------
  467.  
  468.  
  469. status property
  470.  
  471.  
  472.  
  473. For a window, the status property reflects a priority or transient message in the status bar at the bottom of the window, such as the message that appears when a mouseOver event occurs over an anchor. Do not confuse status with defaultStatus. The defaultStatus property reflects the default message displayed in the status bar. 
  474.  
  475.  
  476.  
  477. Applies to
  478.  
  479.  
  480.  
  481. window 
  482.  
  483. Examples
  484.  
  485.  
  486.  
  487. Suppose you have created a JavaScript function called pickRandomURL() that lets you select a URL at random. You can use the onClick event handler of an anchor to specify a value for the HREF attribute of the anchor dynamically, and the onMouseOver event handler to specify a custom message for the window in the status property: 
  488.  
  489. <A HREF=""
  490.    onClick="this.href=pickRandomURL();"
  491.    onMouseOver="self.status='Pick a random URL'; return true">
  492. Go!</A>
  493.  
  494.  
  495.  
  496.  
  497. In the above example, the status property of the window is assigned to the window's self property, as self.status. As this example shows, you must return true to set the status property in the onMouseOver event handler. 
  498. ---------------------------------------------------------
  499.  
  500. target property
  501.  
  502.  
  503.  
  504. Window targeted for form response after the form has been submitted. 
  505.  
  506.  
  507.  
  508. Applies to
  509.  
  510.  
  511.  
  512. form, link 
  513.  
  514. Examples
  515.  
  516.  
  517.  
  518. xxx Examples to be supplied. 
  519. ------------------------------------------------------------------------
  520.  
  521.  
  522. text property
  523.  
  524.  
  525.  
  526. String, reflection of the text after the <OPTION>/TT> tag. 
  527.  
  528.  
  529.  
  530. Applies to
  531.  
  532.  
  533.  
  534. selection 
  535.  
  536. Examples
  537.  
  538.  
  539.  
  540. xxx Examples to be supplied. 
  541. ---------------------------------------------------------
  542.  
  543.  
  544. title property
  545.  
  546.  
  547.  
  548. Current document title. 
  549.  
  550.  
  551.  
  552. Applies to
  553.  
  554.  
  555.  
  556. document 
  557.  
  558. Examples
  559.  
  560.  
  561.  
  562. xxx Examples to be supplied. 
  563. ---------------------------------------------------------
  564.  
  565.  
  566. top property
  567.  
  568.  
  569.  
  570. The top-most ancestor window, which is its own parent. 
  571.  
  572.  
  573.  
  574. Applies to
  575.  
  576.  
  577.  
  578. window 
  579.  
  580. Examples
  581.  
  582.  
  583.  
  584. xxx Examples to be supplied. 
  585. ---------------------------------------------------------
  586.  
  587.  
  588. value property
  589.  
  590.  
  591.  
  592. For button, reset, and submit objects, a string that is the same as the VALUE attribute (this is the label that appears onscreen, not the internal name for the button). For checkbox, a string, "on" if item is checked; "off" otherwise. For radioButton, a string, reflection of the VALUE attribute. For selection, reflection of VALUE attribute, sent to server on submit. For text and textArea, string, the contents of the field. 
  593.  
  594. Applies to
  595.  
  596.  
  597.  
  598. button, checkbox, password, radioButton, reset, selection, submit, text, textArea 
  599.  
  600. Examples
  601.  
  602.  
  603.  
  604. xxx Examples to be supplied. 
  605. ---------------------------------------------------------
  606.  
  607.  
  608. vlinkColor property
  609.  
  610.  
  611.  
  612. RGB value for color of visited links, expressed as a hexadecimal triplet. This property is the JavaScript reflection of the VLINK attribute of the HTML BODY tag. 
  613.  
  614.  
  615.  
  616. Applies to
  617.  
  618.  
  619.  
  620. document 
  621.  
  622. Examples
  623.  
  624.  
  625.  
  626. xxx Examples to be supplied. 
  627. ---------------------------------------------------------
  628.  
  629.  
  630. window property
  631.  
  632.  
  633.  
  634. The window property refers to the current window. Use the window property to disambiguate a property of the window object from a form of the same name. You can also use the window property to make your code more readable. 
  635.  
  636.  
  637.  
  638. Applies to
  639.  
  640.  
  641.  
  642. window 
  643.  
  644. Examples
  645.  
  646.  
  647.  
  648. In the following example, window.status is used to set the status property. This usage disambiguate the status property of a window from a form called "status". 
  649.  
  650. <A HREF=""
  651.    onClick="this.href=pickRandomURL();"
  652.    onMouseOver="window.status='Pick a random URL' ; return true">
  653. Go!</A>
  654.  
  655.  
  656.  
  657.